package com.lzf.yh.dao;

import com.lzf.yh.entity.OrderInfo;

import java.util.List;

public interface OrderInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(OrderInfo record);

    int insertSelective(OrderInfo record);

    OrderInfo selectByPrimaryKey(Integer id);

    OrderInfo selectByOrderid(String orderId);

    List<OrderInfo> selectByJiTaNameAndUserId(OrderInfo orderInfo);

    List<OrderInfo> selectAllOrderInfo();

    List<OrderInfo> selectAllOrderInfoStatusYesZeroByUserId(Integer userid);

    List<OrderInfo> selectAllOrderInfoStatusYesOneByUserId(Integer userid);

    List<OrderInfo> selectAllOrderInfoStatusYesTwoByUserId(Integer userid);

    List<OrderInfo> selectAllOrderInfoStatusYesThreeByUserId(Integer userid);

    List<OrderInfo>  selectAllOrderInfoByUserID(Integer userid);

    int updateByPrimaryKeySelective(OrderInfo record);

    int updateByPrimaryKey(OrderInfo record);

    int updateStartsById(Integer id);

    int updateStartsByOrderidToOne(String orderId);

    int updateStartsByOrderidToThree(String orderId);
}